package com.lzl.soaware.db.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Service;

@Service
public class DbService {

    @Autowired
    @Qualifier("soawareJdbcTemplate")
    private JdbcTemplate jdbcTemplate;

    public void insetTest() {
        jdbcTemplate.update("INSERT INTO SOA_SO_LIST (GID,SO_NAME) VALUES (?,?)", "1", "test");
    }
}
